package geppetto.phraseProbability.smoothing;

import geppetto.phraseProbability.PhraseProbabilityCalculator;
import geppetto.phraseTable.PhraseTable;
import geppetto.phraseTable.phrase.Phrase;

public class KneserNeyDistribution implements PhraseProbabilityCalculator{

	public double calculateProbablity(PhraseTable phraseTable, Phrase p,
			int sourceLength, int targetLength) {
		return 0;//TODO return phraseTable.getCountForTarget(p._targetPhraseID, targetLength) / (double)phraseTable._numberOfPhrases;
	}

	public double calculateProbablityReverse(PhraseTable phraseTable, Phrase p,
			int sourceLength, int targetLength) {
		return 0;//TODO return phraseTable.getCountForSource(p._sourcePhraseID, sourceLength) / (double)phraseTable._numberOfPhrases;
	}

}
